package com.example.myweb.Dto;

import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class ArticleDetailDTO {
    private Long articleId;
    private String title;
    private String content; // 详情页需要完整内容
    private String summary; // 列表页可能只需要摘要
    private AuthorInfoDTO author;
    private CategoryDTO category;
    private String coverImageUrl;
    private int viewCount;
    private int likeCount;
    private int commentCount;
    private LocalDateTime publishTime;
    private LocalDateTime lastUpdateTime;
    private List<String> topics;
    private PollResultDTO poll;

}